<template>
    <div>
        <div class="header">
      <Header :name="name"></Header>
    </div>
    </div>
</template>

<script setup>
import Header from "./Header.vue";
import {useRoute} from 'vue-router'

const route = useRoute()
const name = route.query.name
console.log(name);
</script>

<style lang="scss" scoped>

</style>